﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ibba.agil.core;

namespace ibba.agil.data.manager
{
    internal class tbagi001Even_MNG : EntityManager<data.tbagi001Even_ENT>
    {
        public override void Save(data.tbagi001Even_ENT entityDataObject)
        {
            base.SaveEntity(entityDataObject);
        }

        public override void Save(data.tbagi001Even_ENT entityDataObject, TransactionManager transaction)
        {
            base.SaveEntity(entityDataObject, transaction);
        }

        public override void Delete(data.tbagi001Even_ENT entityDataObject)
        {
            base.DeleteEntity(entityDataObject);
        }
    }

    internal class tbagi001Even_COM : CollectionManager<data.tbagi001Even_COL, data.tbagi001Even_ENT>
    {

        public override data.tbagi001Even_COL Where(CriteriaInfo.Criteria searchEngine)
        {
            return base.Materializer(searchEngine);
        }

        public override data.tbagi001Even_COL Where(CriteriaInfo.Criteria searchEngine, TransactionManager tm)
        {
            return base.Materializer(searchEngine, tm);
        }
    }
}
